<head>
<script src="prototype.js" type="text/javascript"></script>

<script>

    	//incluimos la clase que toca
	//require_once '../Server/class/object.php';
	
	var data = {name: 'Violet', occupation: 'character', age: 25 };
        Object.toJSON(data);

	echo data;
	</script>
	</head>

